<template>
    <div id="app">
      <router-view></router-view>
    </div>
</template>

<script setup lang="ts">
import { onMounted } from 'vue';
import router from './router/router';
onMounted(async() => {
  router.replace(router.options.history.location);
});
</script>
<style lang="less" scoped>
#app{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}
</style>